package com.yst.webplugin.annotation;

import com.yst.webplugin.api.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Api.ApiEntity("Filter group parameter")
public class FilterGroup implements Serializable {
    @Api.ApiField("array of class FilterItem")
    private List<FilterItem> conditions=new ArrayList<>();
}
